<?php
include 'dbconnection.php';
$query = "Select * From tasks";
if (!$result = mysql_query($query)) {
    die("400");
} else {
    $alldata;
    for ($counter = 0; $row = mysql_fetch_assoc($result); $counter++) {
        $alldata[$counter]['start'] = $row['s_date']. " ". $row['s_time'];
        $alldata[$counter]['s_time'] = $row['s_time'];
    }
   
    var_export($alldata) ;
}
include 'dbconnectionclose.php';

?>
